package com.wikimi.domain;

import java.io.Serializable;
import java.util.Date;

public class Member implements Serializable {

	private static final long serialVersionUID = 1L;

	private String id;
	private String password;
	private String cust_hp_no;
	private String cust_name;
	private String email;
	private String authority;
	private Date reg_date;
	
	public Member() {
		super();
		this.id = null;
		this.password = null;
		this.cust_hp_no = null;
		this.cust_name = null;
		this.email = null;
		this.authority = null;
		this.reg_date = null;
	}

	public Member(String id, String password, String cust_hp_no, 
			String cust_name, String email, String authority, Date reg_date) {
		super();
		this.id = id;
		this.password = password;
		this.cust_hp_no = cust_hp_no;
		this.cust_name = cust_name;
		this.email = email;
		this.authority = authority;
		this.reg_date = reg_date;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getCust_hp_no() {
		return cust_hp_no;
	}

	public void setCust_hp_no(String cust_hp_no) {
		this.cust_hp_no = cust_hp_no;
	}
	
	public String getCust_name() {
		return cust_name;
	}

	public void setCust_name(String cust_name) {
		this.cust_name = cust_name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAuthority() {
		return authority;
	}

	public void setAuthority(String authority) {
		this.authority = authority;
	}
	
	public Date getReg_date() {
		return reg_date;
	}

	public void setReg_date(Date reg_date) {
		this.reg_date = reg_date;
	}

	@Override
	public String toString() {
		return "Member [id=" + id + ", password=" + password + ", email="
				+ email + ", authority=" + authority + "]";
	}
}
